package com.ext.aic.beans.response;

import com.google.gson.annotations.SerializedName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageResponse<T> extends Response<T> {

    private int total;

    private int page;

    @SerializedName("page_size")
    private int pageSize;

    @SerializedName("total_pages")
    private int totalPages;
}
